##1. 安装apache
①sudo apt-get update
②sudo apt-get install apache21
2
3
4
5
6
7
8
9
10
11
12
13附录:apache的操作
//启动apache服务
# /etc/init.d/apache2 start
//or
$ sudo /etc/init.d/apache2 start
//重启apache服务
# /etc/init.d/apache2 restart
//or
$ sudo /etc/init.d/apache2 restart
//停止apache服务
# /etc/init.d/apache2 stop
//or
$ sudo /etc/init.d/apache2 stop
##2. 安装php
①sudo apt-get install php5
##3. 配置APACHE+PHP
①sudo apt-get install libapache2-mod-php5
②重启apache
sudo /etc/init.d/apache2 restart
##4. 安装mysql(密码118417)
①sudo apt-get install mysql-server
②sudo apt-get install php5-mysql
##5. 安装graphviz
sudo apt-get install graphviz
##6.登陆mysql
①启动:/etc/init.d/mysql start
②mysql -u root -p
service mysql restart
##7. 数据导入
①创建两个数据库